package com.young.netty.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @author Young
 */
@SpringBootApplication
public class NettyGatewayApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplicationBuilder()
                .sources(NettyGatewayApplication.class)
                .web(WebApplicationType.NONE)
                .build(args);
        springApplication.run();
    }

}
